module TransactionHelper

  def transactions_path_proc
    Proc.new do |column, direction|
      book_transactions_path(sort: column, direction: direction)
    end
  end
  
  def all_transactions_path_proc
    Proc.new do |column, direction|
      all_transactions_path(sort: column, direction: direction)
    end
  end

end
